'''
Created on Nov 8, 2009

@author: Nick Verbeck
'''
from PyQt4 import QtGui
from PyQt4 import QtCore
from ui_LoggedIn import Ui_loggedIn

class FacebookLoggedIn(QtGui.QDialog, Ui_loggedIn):
    def __init__(self):
        QtGui.QDialog.__init__(self)
        self.setupUi(self)
        
        self.connect(self.btnLoggedIn, QtCore.SIGNAL("clicked()"), self._loggedIn)
        
    def _loggedIn(self):
        self.hide()
        self.emit(QtCore.SIGNAL('loggedIn'))